package cn.kgc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.*;

import java.io.Serializable;

/**
 * @author example
 * @version 1.0
 */
@Setter
@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
@TableName(value = "sys_params")
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public class SysParams extends Model<SysParams> implements Serializable {

    /**
     * 简历最大刷新次数的ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 每日最大简历被刷新的次数
     */
    @TableField(value = "max_resume_refresh_counts")
    private Integer maxResumeRefreshCounts;
}
